STEP 4: We're almost done with our main()! Let's just call the given create_landscape function.

  • In , drag Function Call inside and to the bottom of main().
  • Change my_function() to create_landscape().
  • This generates a landscape layered on top our stars, just to make our landscape look more realistic.
  • Press Run to see a 'finished' project. (We're not done yet.) Click Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)